﻿<controls:ChildWindow x:Class="Astor.UI.Framework.ErrorHandling.ErrorWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="600" Height="300" 
           Title="Error">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock x:Name="LabelText" Grid.Row="0" TextWrapping="Wrap" />
        <TextBox x:Name="ErrorTextBox" Grid.Row="1" HorizontalScrollBarVisibility="Auto" IsReadOnly="True" VerticalScrollBarVisibility="Auto" IsEnabled="True" />
        <Button x:Name="CancelButton" Content="Close" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="2" />
        <Button Content="Copy" Grid.Row="2" Height="23" HorizontalAlignment="Right" Margin="0,12,503,0" Name="button1" Width="75" Click="button1_Click" />
    </Grid>
</controls:ChildWindow>